<template>
  <div>
    <ul>
      <li>
          <!-- 命名路由的可以直接写name替代路径的写法 -->
          <router-link  :to="{name:'xiangqing'}">消息001</router-link>
      </li>
      <li>
          <router-link  :to="{name:'xiangqing'}">消息002</router-link>
      </li>
      <li>
          <router-link  :to="{name:'xiangqing'}">消息002</router-link>
     </li>
</ul>
    <hr>
    <!-- 展示区 -->
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  name: 'Message',
}
</script>
